﻿Namespace DotNetNuke.Modules.ActiveForums
    Public Class AttachInfo
        Private _AttachID As Integer
        Private _ContentId As Integer
        Private _PostID As Integer
        Private _UserID As Integer
        Private _Filename As String
        Private _FileData As Array
        Private _ContentType As String
        Private _FileSize As Integer
        Private _AllowDownload As Boolean
        Private _DisplayInline As Boolean
        Private _DownloadCount As Integer
        Private _ParentAttachId As Integer
        Private _canRead As String = String.Empty
        Private _fileUrl As String = String.Empty
        Public Sub New()
        End Sub
        Public Property CanRead() As String
            Get
                Return _canRead
            End Get
            Set(ByVal value As String)
                _canRead = value
            End Set
        End Property
        Public Property AttachID() As Integer
            Get
                Return _AttachID
            End Get
            Set(ByVal Value As Integer)
                _AttachID = Value
            End Set
        End Property
        Public Property ContentId() As Integer
            Get
                Return _ContentId
            End Get
            Set(ByVal value As Integer)
                _ContentId = value
            End Set
        End Property
        Public Property PostID() As Integer
            Get
                Return _PostID
            End Get
            Set(ByVal Value As Integer)
                _PostID = Value
            End Set
        End Property
        Public Property UserID() As Integer
            Get
                Return _UserID
            End Get
            Set(ByVal Value As Integer)
                _UserID = Value
            End Set
        End Property
        Public Property Filename() As String
            Get
                Return _Filename
            End Get
            Set(ByVal Value As String)
                _Filename = Value
            End Set
        End Property
        Public Property FileData() As Array
            Get
                Return _FileData
            End Get
            Set(ByVal Value As Array)
                _FileData = Value
            End Set
        End Property
        Public Property ContentType() As String
            Get
                Return _ContentType
            End Get
            Set(ByVal Value As String)
                _ContentType = Value
            End Set
        End Property
        Public Property FileSize() As Integer
            Get
                Return _FileSize
            End Get
            Set(ByVal Value As Integer)
                _FileSize = Value
            End Set
        End Property
        Public Property AllowDownload() As Boolean
            Get
                Return _AllowDownload
            End Get
            Set(ByVal Value As Boolean)
                _AllowDownload = Value
            End Set
        End Property
        Public Property DisplayInline() As Boolean
            Get
                Return _DisplayInline
            End Get
            Set(ByVal Value As Boolean)
                _DisplayInline = Value
            End Set
        End Property
        Public Property DownloadCount() As Integer
            Get
                Return _DownloadCount
            End Get
            Set(ByVal Value As Integer)
                _DownloadCount = Value
            End Set
        End Property
        Public Property ParentAttachId() As Integer
            Get
                Return _ParentAttachId
            End Get
            Set(ByVal Value As Integer)
                _ParentAttachId = Value
            End Set
        End Property
        Public Property FileUrl() As String
            Get
                Return _fileUrl
            End Get
            Set(value As String)
                _fileUrl = value
            End Set
        End Property
    End Class
End Namespace
